package at.im.utils;

public class User 
{
	int 		m_userid;
	String 		m_name;
	String 		m_timestamp;
	String		m_email;
	String		m_password;
	int			m_rights;
	
	public User()
	{}
	
	public User(int userid, String name, String timestamp, String email, String password, int rights)
	{
		m_userid 		= userid;
		m_name 			= name;
		m_timestamp 	= timestamp;
		m_email			= email;
		m_password		= password;
		m_rights		= rights;
	}
	
	public void setRights(int rights)
	{
		m_rights = rights;
	}
	
	public int getRights()
	{
		return m_rights;
	}
	
	public void setPassword(String password)
	{
		m_password = password;
	}
	
	public String getPassword()
	{
		return m_password;
	}
	
	public void setEmail(String email)
	{
		m_email = email;
	}
	
	public String getEmail()
	{
		return m_email;
	}
	
	public void setId(int id)
	{
		m_userid = id;
	}
	
	public int getId()
	{
		return m_userid;
	}
	
	public void setName(String name)
	{
		m_name = name;
	}
	
	public String getName()
	{
		return m_name;
	}
	
	public void setTimeStamp(String timestamp)
	{
		m_timestamp = timestamp;
	}
	
	public String getTimeStamp()
	{
		return m_timestamp;
	}
}
